import {fetch} from '@/utils/fetch'

export const enqueue = async ({ formId }) => {
  let res = await fetch({
    query: `mutation {
      enqueueNotification (formId: "${formId}") {
        id
      }
    }`
  })
  return res.data.enqueueNotification
}
